package repository.relsys.storage;

/*
 * import java.io.IOException;
 * 
 * import java.io.InputStream; import java.sql.SQLException;
 * 
 * import com.hp.hpl.jena.db.DBConnection; import
 * com.hp.hpl.jena.db.IDBConnection; import
 * com.hp.hpl.jena.ontology.OntModelSpec; import
 * com.hp.hpl.jena.rdf.model.Model; import
 * com.hp.hpl.jena.rdf.model.ModelFactory; import
 * com.hp.hpl.jena.rdf.model.ModelMaker; import
 * com.hp.hpl.jena.util.FileManager;
 * 
 * public class Connection { /* private String DB_URL =
 * "jdbc:mysql://127.0.0.1/sdb2"; private String DB_USER = new String("ROOT");
 * private String DB_PASSWD = new String(""); private String DB_TYPE = new
 * String("MySQL"); private IDBConnection conn = null; private String driver =
 * "com.mysql.jdbc.Driver";
 * 
 * public void connect() throws ClassNotFoundException, SQLException {
 * Class.forName(driver); conn = new DBConnection(DB_URL, DB_USER, DB_PASSWD,
 * DB_TYPE); testConnection();
 * 
 * }
 * 
 * private void testConnection() throws SQLException {
 * 
 * if (conn.getConnection() != null) // throws exception
 * System.out.println("Connection Successful"); conn.getAllModelNames(); }
 * 
 * }
 */